package mob.controllers;

import entity.Entity;
import mob.AngryJaws;
import mob.Mob;

public class AngryJawsController extends Controller
{
	private AngryJaws mob; 
	public AngryJawsController(Mob mob)
	{
		super(mob);
		this.mob = (AngryJaws) mob; 
	}
	@Override
	public void tick() 
	{
		super.tick();
		
		mob.onDirection(Entity.getAngle(mob.getWorld().character.getX()-mob.getX(), mob.getWorld().character.getY()-mob.getY())); 
	}
}
